﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 站台
    /// </summary>
    [Table("T_Station")]
    public class Station:BaseEntity
    {
        /// <summary>
        /// 站台编码
        /// </summary>
        [MaxLength(60)]
        public string Code { get; set; }
        /// <summary>
        /// 站台名称
        /// </summary>
        [MaxLength(60)]
        public string Name { get; set; }
        /// <summary>
        /// 设备编码
        /// </summary>
        [MaxLength(60)]
        public string DeviceCode { get; set; }
        /// <summary>
        /// 库房Id
        /// </summary>
        public long WhId { get; set; }
        /// <summary>
        /// 库房编码
        /// </summary>
        [MaxLength(60)]
        public string WhCode { get; set; }
        /// <summary>
        /// 库房名称
        /// </summary>
        [MaxLength(60)]
        public string WhName { get; set; }
        /// <summary>
        /// 库区Id
        /// </summary>
        public long? AreaId { get; set; }
        /// <summary>
        /// 库区名称
        /// </summary>
        [MaxLength(60)]
        public string AreaName { get; set; }
        /// <summary>
        /// 关联LED设备Id
        /// </summary>
        public int? Ledid { get; set; }
        /// <summary>
        /// 站台分类：1-轻型；2-重型
        /// </summary>
        public int StationSort { get; set; }
        public int StationType { get; set; }
        /// <summary>
        /// 功能类型：1-入库；2-出库；3-出入库；4-拣选；5-缓存
        /// </summary>
        public int FunctionType { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-正常
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public bool? IsLock { get; set; }
        /// <summary>
        /// 所在楼层
        /// </summary>
        public int? AddrFloor { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(60)]
        public string Remark { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int DisplayOrder { get; set; }     
    }
}
